#import "head.h"
#import "sprite_game_object.h"

@class SpriteGameEnemyLifeBar;

@interface SpriteGameEnemy : SpriteGameObject
{
	/*base data
	*/
	int aiType_;
	float moveSpeed_;
	float moveSpeedVariance_;
	float standTime_;
	int lifePoint_;
	
	/*move path
	*/
	std::list<CGPoint> movePath_;
	
	/*image
	*/
	CCSprite *image_;
	
	/*life bar
	*/
	SpriteGameEnemyLifeBar *lifeBar_;
	
	/*flag
	*/
	int state_;
}

+ (id)createEnemy:(int)Type;
- (id)initSpriteGameEnemy:(SMissionEnemy *)InfoData;

- (float)GetMoveSpeed;

- (void)playAniMove;
- (void)playAniAttack;
- (void)playAniDie;

- (void)aiCreate;
- (void)aiActionMoveOver;
- (void)aiActionStandOver;
- (void)aiActionAttackOver;

- (void)stopAction;

- (void)actionStand:(float)Time;
- (void)actionMovePath;
- (void)actionMove;
- (void)actionAttack;
- (void)actionDie;
- (void)actionDamageTint;

- (void)callBackActionMoveOver;
- (void)callBackActionStandOver;
- (void)callBackActionAttackOver;
- (void)callBackActionDieOver;
- (void)callBackActionDamageTintOver;

@end